import { createRouter, createWebHashHistory } from 'vue-router';

export default createRouter({
  history: createWebHashHistory(),
  routes: [
    // 在打包页面资产包时，记得将组件本地调试页面的路由先注释掉
    {
      path: '/',
      meta: { title: 'vapp-helper' },
      component: () => import('../vapp-helper/vapp-helper.vue'), // 组件本地调试页面
    },
    
    {
      path: '/demo-page',
      name: 'home',
      component: () => import('@/views/demo-page.vue'), // 样例页面
    },
  ],
});
